Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 1 - Using JManager / Creating a Java Runtime Environment


Checking JManager Versions

Many JManager data structures require that you specify the version of JManager (kJMVersion) you are compiling against. Before beginning a session, you should compare this value to the version of JManager available on the host computer to make sure that the two are compatible. The function JMGetVersion (page 92) returns the JManager version available on the host computer (or nil if JManager is not present).

IMPORTANT
If you do not specify JManager as a weak library when compiling, your application will automatically fail to launch if the JManager library is not present.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997